<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a{
            display: inline-block; /*要转换成行内块元素才能设置它的宽和高*/
            color: white;
            text-decoration: none;
            width: 120px;
            height: 58px;
            line-height: 48px;
            text-align: center;
        }
        .bg1{
            background-image: url(1.jpg);
        }
         .bg2{
            background-image: url(2.jpg);
        }
         .bg3{
            background-image: url(3.jpg);
        }
         .bg4{
            background-image: url(4.jpg);
        }
    </style>
</head>
<body>
    <a href="#" class="bg1">游戏资料</a>
    <a href="#" class="bg2">内容中心</a>
    <a href="#" class="bg3">赛事中心</a>
    <a href="#" class="bg4">王者文化</a>
</body>
</html>